package com.emergency.embackend.mapper;

import com.emergency.embackend.param.VideoOperate;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author chddd
 * @description
 * @create 2024/2/28 23:56:13
 */
@Mapper
public interface OperateMapper {

    void add(VideoOperate videoOperate);

    void delete(@Param("videoId")Long videoId,@Param("operateType") String operateType);

    List<Long> getLikeData(String dataType,Long userId);

    List<Long> getCollectData(String dataType,Long userId);

}
